package io.gitee.yxsnake.embark.web.core.enums;

import io.gitee.yxsnake.embark.web.core.base.IBaseEnum;

/**
 * @author: snake
 * @create-time: 2024-09-29
 * @description: 性别枚举
 * @version: 1.0
 */
public enum GenderEnum implements IBaseEnum<Integer> {

    UNKNOWN(0,"保密"),
    MALE(1,"男"),
    FEMALE(2,"女")

    ;

    private final Integer value;

    private final String label;

    GenderEnum(final Integer value,final String label){
        this.value = value;
        this.label = label;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getLabel() {
        return this.label;
    }
}
